
import { defineStore } from "pinia";
import { formatMonthDay } from "@/utils/format_date";
const today=new Date()
;
const newday=new Date().setDate(today.getDate()+2);

const useMainStore=defineStore("main",{
    state:()=>({
        token:"",

        startDate:formatMonthDay(today),
        endDate:formatMonthDay(newday),
        diffdays:2,
        isloading:true,
        

    })
})
export default useMainStore;